#ifndef CATEGORIZER_H
#define CATEGORIZER_H

#include "Item.h"

// Just a little functor, which is given an Item and returns its category
// based on some property of the Item.
// Known subclasses:
// Categorizer_Color : uses the color property
// Categorizer_Extreme : uses the 'is_extreme' property

class Categorizer {
public:
    virtual int operator() (const Item& item) = 0;
};

#endif
